# -*- coding: utf-8 -*-

from __future__ import unicode_literals

from django.db import models
from django.contrib.auth.models import User


class Profile(models.Model):
    user = models.OneToOneField(User)
    unionid = models.CharField(max_length=64, db_index=True, blank=True)
    openid_mp = models.CharField(max_length=64, db_index=True, blank=True)
    openid_open = models.CharField(max_length=64, db_index=True, blank=True)
    openid_dingtalk = models.CharField(max_length=64, db_index=True, blank=True)
